/* OLS and FE regressions of log wage on complex job dummy */

#delimit ;

*version 8;
set mem 100m;
 
log using table6, replace text;
 


u psid76_2004_jleo;



xi: reg lw relational_job educ tenure tenure2 tenure3 
potexp exp2 exp3 married collbarg nonwhite i.ind1dg i.year
i.occcat [aw=iweight], cluster(id);


xi: reg lw relational_job math ehf sts dcp finger educ tenure tenure2 tenure3 
potexp exp2 exp3 married collbarg nonwhite i.ind1dg i.year
i.occcat [aw=iweight], cluster(id);


xi: areg lw relational_job educ tenure tenure2 tenure3 
potexp exp2 exp3 married collbarg nonwhite i.ind1dg i.year
i.occcat [aw=iweight], absorb(id);

xi: areg lw relational_job math ehf sts dcp finger educ tenure tenure2 tenure3 
potexp exp2 exp3 married collbarg nonwhite i.ind1dg i.year
i.occcat [aw=iweight], absorb(id);



clear;
log close;


